package base;

public interface AuthConst extends BaseConst {
    //APP认证
    interface APP {
        String KEY = "YuGarden";
        String VERSION = "2.0";
    }

//    //微信认证（公众号ceshi）
//    interface WECHAT_PUBLIC_NUMBER {
//        String ID = "wx7445fc4791a4148f";
//        String SECRET = "fb8ee0294c9b82e681324ad318a8efc6";
//        String GRANT = "authorization_code";
//        String WECHAT_USER_INFO_URL ="https://api.weixin.qq.com/cgi-bin/user/info";
//        String JSAPITICKET ="JsApiTicket";
//    }

//    //微信认证（公众号）
//    interface WECHAT_PUBLIC_NUMBER {
//        String ID = "wxb6c937a11260e45d";
//        String SECRET = "8fade8ef37de6e8a7d20831b975d4a41";
//        String GRANT = "authorization_code";
//        String WECHAT_USER_INFO_URL ="https://api.weixin.qq.com/cgi-bin/user/info";
//        String JSAPITICKET ="JsApiTicket";
//    }

    //微信认证（小程序）
    interface WECHAT {
        String ID = "wx4f747d7dcd3f00d2";
        String SECRET = "6853f998b8b28234fb66509bcb7da4a8";
        String GRANT = "authorization_code";
    }


    //短信验证认证
    interface MESSAGE {
        String HOST = "211.136.163.68";
        int PORT = 9981;
        String ACCOUNTID = "10657109031322";
        String PASSWORD = "q1w2e3!@#$";
        String SERVICEID = "Baolehui";
    }

    //获取微信token
    interface TOKEN {
        String WECHAT_PUBLIC_GET_ACCESS_TOKEN = "https://api.weixin.qq.com/cgi-bin/token";
        String GRANT_TYPE = "client_credential";

        /**
         * 检查用户是否关注
         */
        String CHECK_FOUS_ON = "https://api.weixin.qq.com/cgi-bin/user/info";

    }

    interface LOGINSOURCE {

        /**
         * 小程序
         */
        String SMALL_PROGRAM = "small_program";

        /**
         * 微信小程序
         */
        String PUBLIC_NUMBER = "public_number";

        /**
         * 小程序
         */
        String PARKING_PROGRAM = "parking_program";

        String APP = "app";

    }

}
